package com.ruoyi.bizsys.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 短信发送日志对象 sms_send_log
 *
 * @author african-loan
 * @date 2021-12-30
 */

@Data
public class SmsSendLog extends BaseEntity
        {
private static final long serialVersionUID=1L;


    /** 序号 */
    
            @Excel(name = "${comment}" , readConverterExp = "序号")
                @TableId(type = IdType.AUTO)
        private Long id;


    /** 区号 */
                        
            @Excel(name = "区号")
                private String countryCode;


    /** 手机号 */
                        
            @Excel(name = "手机号")
                private String phoneNumber;


    /** 短信模板id */
                        
            @Excel(name = "短信模板id")
                private Long templateId;


    /** 短信内容 */
                        
            @Excel(name = "短信内容")
                private String content;


    /** from_where */
                        
            @Excel(name = "from_where")
                private String fromWhere;


    /** 发送时间 */
                        
            @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发送时间" , width = 30, dateFormat = "yyyy-MM-dd")
                private Date reqTime;


    /** 响应时间 */
                        
            @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "响应时间" , width = 30, dateFormat = "yyyy-MM-dd")
                private Date resTime;


    /** bulk_id */
                        
            @Excel(name = "bulk_id")
                private String bulkId;


    /** 短信渠道id */
                        
            @Excel(name = "短信渠道id")
                private String msgId;


    /** 响应状态码 */
                        
            @Excel(name = "响应状态码")
                private String statusCode;


    /** 状态 */
                        
            @Excel(name = "状态")
                private String sendStatus;


    /** 错误信息 */
                        
            @Excel(name = "错误信息")
                private String errMsg;


    /** 备注 */
                        
            @Excel(name = "备注")
                private String remark;


    /** 创建时间 */
    
            @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "备注" , width = 30, dateFormat = "yyyy-MM-dd")
                private Date createTime;


    /** 更新时间 */
    
            @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "备注" , width = 30, dateFormat = "yyyy-MM-dd")
                private Date updateTime;


    /** 短信类型，register：注册，reset_pwd：重置密码 */
                        
            @Excel(name = "短信类型，register：注册，reset_pwd：重置密码")
                private String smsType;


    /** 短信发送sender渠道方式 */
                        
            @Excel(name = "短信发送sender渠道方式")
                private String noticeType;


    /** 短信发送方式（infobip 和 africastalking） */
                        
            @Excel(name = "短信发送方式" , readConverterExp = "i=nfobip,和=,a=fricastalking")
                private String smsProvider;

                                                                                                                                                                                                                                                                                                                                                                                                                    }